<template>
  <div id="app">
    <img src="./assets/Monster.jpg" style="width: 800px;">
    <!-- <router-view/> -->
    <!-- 3.直接使用自定义组件,本质是一个标签 -->
    <car></car>
  </div>
</template>

<script>
  //1.导入自定义组件
  import car from './components/car.vue'
export default {
  name: 'App',
  //2.添加制定的组件
  components:{
    car
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
